<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.father {
				border: 1px solid red;
				/* overflow: hidden; */
			}
			.damao {
				width: 100px;
				height: 100px;
				background-color: pink;
				float: left;
			}
			.ermao {
				width: 150px;
				height: 150px;
				background-color: purple;
				float: left;
			}
			.xiaomi {
				width: 300px;
				height: 200px;
				background-color: #000000;
			}

			.clearfix:after {
				content: ".";
				display: block;
				height: 0;
				visibility: hidden;
				clear: both;
			}
			/* .clearfix {
				*zoom: 1;
			} */
		</style>
	</head>
	<body>
		<div class="father clearfix">
			<div class="damao"></div>
			<div class="ermao"></div>
		</div>
		<div class="xiaomi"></div>
	</body>
</html>
